standard input output and error streams in python